<script setup lang="ts">

</script>

<template>
<div class="carousel">轮播图</div>
</template>

<style scoped lang="less">
.carousel{
    // 让组件大小继承其父亲元素
    width: 100%;
    height: 100%;
    border: 1px solid black;
}
</style>